using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using System.Text;
using System.Linq;
using WLYT.Domain.Model;

namespace WLYT.Application.Interfaces
{
	public interface IRoleService : IBaseService<Role>
    {
        Task<Tuple<IList<Role>, int>> GetModelsByPageAsync(string search, int pageSize, int pageIndex);
        Task<bool> Save(Role model);
        Task<bool> Remove(int id);
        Task<List<Role>> GetAll();
    }
}